<?php
namespace app\api\controller;

use app\BaseController;


/*
 * 消息推送
 * */
class Push extends BaseController
{


    public function index()
    {
        require_once '../vendor/autoload.php';
        require "../vendor/getuilaboratory/getui-pushapi-php-client/test.php";
        //推送全部人消息
//        pushMessageToApp('bool','666dfgd');
        $uid = "7715453a49ba608cee9e5d3796d6f368";
        pushMessageToSingle('dal','34343',$uid);
    }



}
